package com.cc.service.impl;

import com.cc.dao.DepartmentDao;
import com.cc.dao.impl.DepartmentDaoImpl;
import com.cc.entity.Department;
import com.cc.service.DepartmentService;

import java.util.List;

/**
 * @author CC
 * @version 1.0
 * @description: TODO
 * @date 2025/4/21 9:59
 */
public class DepartmentServiceImpl implements DepartmentService {
    private DepartmentDao departmentDao = new DepartmentDaoImpl();
    @Override
    public List<Department> getDepartmentList() {
        return departmentDao.getDepartmentList();
    }
}
